package com.dgut.coal.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: Yang
 * @Description:
 * @Date: Created in 18:03 2019/10/3
 * @Modifued BY:
 */
public class Purchase{

    @ExcelProperty(value = "订单编号")
    //申请单id
    private Integer apply_id;

    @ExcelProperty(value = "申请人")
    //创建人
    private String create_user;

    @ExcelProperty(value = "申请时间")
    //申请时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date write_date;

    @ExcelProperty(value = "单据编号")
    //单据编号
    private String bill_number;

    @ExcelProperty(value = "签发人")
    //签发人
    private String sign_name;

    @ExcelProperty(value = "开始交货时间")
    //开始交货时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date jh_time;

    @ExcelProperty(value = "截止交货时间")
    //截止交货时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date jh_time2;

    @ExcelProperty(value = "报价截止时间")
    //报价截止时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date jh_time_end;

    @ExcelProperty(value = "煤种（1-烟煤，2-无烟煤，3-褐煤，4-贫瘦煤，5-其他）")
    //煤种（1-烟煤，2-无烟煤，3-褐煤，4-贫瘦煤，5-其他）
    private Integer coal_type;

    @ExcelProperty(value = "煤样（1-原煤，2-混煤，3-中煤，4-煤泥，5-其他）")
    //煤样（1-原煤，2-混煤，3-中煤，4-煤泥，5-其他）
    private Integer coal_class;

    @ExcelProperty(value = "采购数量")
    //采购数量
    private Integer qty;

    @ExcelProperty(value = "运输方式（1-火车，2-汽车，3-船运，4-其他）")
    //运输方式（1-火车，2-汽车，3-船运，4-其他）
    private Integer transport_mode;

    @ExcelProperty(value = "交货地点")
    //交货地点
    private String delivery_mode;

    @ExcelProperty(value = "验收方式（1-到厂验收，2-到厂第三方验收，3-港口第三方验收）")
    //验收方式（1-到厂验收，2-到厂第三方验收，3-港口第三方验收）
    private Integer check_mode;

    @ExcelProperty(value = "结算方式（1-一票结算，2-二票结算，3-铁路大票，4-煤款税票，5-其他）")
    //结算方式（1-一票结算，2-二票结算，3-铁路大票，4-煤款税票，5-其他）
    private Integer account_mode;

    @ExcelProperty(value = "最高限价")
    //最高限价
    private double max_limit_price;

    @ExcelProperty(value = "最低限价")
    //最低限价
    private double min_limit_price;

    @ExcelProperty(value = "限价说明")
    //限价说明
    private String max_remark;

    @ExcelProperty(value = "结算付款方式")
    //结算付款方式
    private String pay_mode;

    @ExcelProperty(value = "报价保证金缴纳要求（0-要求，1-不要求）")
    //报价保证金缴纳要求（0-要求，1-不要求）
    private Integer is_quotebond;

    @ExcelProperty(value = "报价保证金单价")
    //报价保证金单价
    private Integer quotebond_number;

    @ExcelProperty(value = "履约保证金缴纳要求（0-要求，1-不要求）")
    //履约保证金缴纳要求（0-要求，1-不要求）
    private Integer is_performbond;

    @ExcelProperty(value = "履约保证金单价")
    //履约保证金单价
    private Integer performbond_number;

    @ExcelProperty(value = "收到基基准-低位发热量")
    //收到基基准-低位发热量
    private Integer type_1;

    @ExcelProperty(value = "收到基基准-全水分")
    //收到基基准-全水分
    private Integer type_2;

    @ExcelProperty(value = "收到基基准-挥发份(小)")
    //收到基基准-挥发份(小)
    private Integer type_3;

    @ExcelProperty(value = "收到基基准-低位发热量")
    //收到基基准-挥发份(大)
    private Integer type_3_2;

    @ExcelProperty(value = "收到基基准-全硫")
    //收到基基准-全硫
    private Integer type_4;

    @ExcelProperty(value = "收到基基准-灰分")
    //收到基基准-灰分
    private Integer type_5;

    @ExcelProperty(value = "公共部分-灰熔点")
    //公共部分-灰熔点
    private Integer type_6;

    @ExcelProperty(value = "公共部分-哈氏可磨系数")
    //公共部分-哈氏可磨系数
    private Integer type_7;

    @ExcelProperty(value = "公共部分-粒度")
    //公共部分-粒度
    private Integer type_8;

    @ExcelProperty(value = "空干基水分")
    //空干基水分
    private Integer kgj_1;

    @ExcelProperty(value = "空干基全硫")
    //空干基全硫
    private Integer kgj_2;

    @ExcelProperty(value = "空干基挥发分(小)")
    //空干基挥发分(小)
    private Integer kgj_3;

    @ExcelProperty(value = "空干基挥发分(大)")
    //空干基挥发分(大)
    private Integer kgj_4;

    @ExcelProperty(value = "干基基准高位发热量")
    //干基基准高位发热量
    private Integer type_9;

    @ExcelProperty(value = "干基基准全硫")
    //干基基准全硫
    private Integer type_10;

    @ExcelProperty(value = "干燥无灰基挥发分（小）")
    //干燥无灰基挥发分（小）
    private Integer type_11;

    @ExcelProperty(value = "干燥无灰基挥发分（大）")
    //干燥无灰基挥发分（大）
    private Integer type_12;

    @ExcelProperty(value = "备注")
    //备注
    private String remark;

    //申请状态（1-草稿；2-审核中；3-已驳回；4-已发布）
    private Integer state;

    //上一次的修改时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date edit_date;

    //执行状态
    private Integer exec_state;

    public Integer getExec_state() {
        return exec_state;
    }

    public void setExec_state(Integer exec_state) {
        this.exec_state = exec_state;
    }

    public Date getEdit_date() {
        return edit_date;
    }

    public void setEdit_date(Date edit_date) {
        this.edit_date = edit_date;
    }

    public Integer getApply_id() {
        return apply_id;
    }

    public void setApply_id(Integer apply_id) {
        this.apply_id = apply_id;
    }

    public String getCreate_user() {
        return create_user;
    }

    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }

    public Date getWrite_date() {
        return write_date;
    }

    public void setWrite_date(Date write_date) {
        this.write_date = write_date;
    }

    public String getBill_number() {
        return bill_number;
    }

    public void setBill_number(String bill_number) {
        this.bill_number = bill_number;
    }

    public String getSign_name() {
        return sign_name;
    }

    public void setSign_name(String sign_name) {
        this.sign_name = sign_name;
    }

    public Date getJh_time() {
        return jh_time;
    }

    public void setJh_time(Date jh_time) {
        this.jh_time = jh_time;
    }

    public Date getJh_time2() {
        return jh_time2;
    }

    public void setJh_time2(Date jh_time2) {
        this.jh_time2 = jh_time2;
    }

    public Date getJh_time_end() {
        return jh_time_end;
    }

    public void setJh_time_end(Date jh_time_end) {
        this.jh_time_end = jh_time_end;
    }

    public Integer getCoal_type() {
        return coal_type;
    }

    public void setCoal_type(Integer coal_type) {
        this.coal_type = coal_type;
    }

    public Integer getCoal_class() {
        return coal_class;
    }

    public void setCoal_class(Integer coal_class) {
        this.coal_class = coal_class;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public Integer getTransport_mode() {
        return transport_mode;
    }

    public void setTransport_mode(Integer transport_mode) {
        this.transport_mode = transport_mode;
    }

    public String getDelivery_mode() {
        return delivery_mode;
    }

    public void setDelivery_mode(String delivery_mode) {
        this.delivery_mode = delivery_mode;
    }

    public Integer getCheck_mode() {
        return check_mode;
    }

    public void setCheck_mode(Integer check_mode) {
        this.check_mode = check_mode;
    }

    public Integer getAccount_mode() {
        return account_mode;
    }

    public void setAccount_mode(Integer account_mode) {
        this.account_mode = account_mode;
    }

    public double getMax_limit_price() {
        return max_limit_price;
    }

    public void setMax_limit_price(double max_limit_price) {
        this.max_limit_price = max_limit_price;
    }

    public double getMin_limit_price() {
        return min_limit_price;
    }

    public void setMin_limit_price(double min_limit_price) {
        this.min_limit_price = min_limit_price;
    }

    public String getMax_remark() {
        return max_remark;
    }

    public void setMax_remark(String max_remark) {
        this.max_remark = max_remark;
    }

    public String getPay_mode() {
        return pay_mode;
    }

    public void setPay_mode(String pay_mode) {
        this.pay_mode = pay_mode;
    }

    public Integer getIs_quotebond() {
        return is_quotebond;
    }

    public void setIs_quotebond(Integer is_quotebond) {
        this.is_quotebond = is_quotebond;
    }

    public Integer getQuotebond_number() {
        return quotebond_number;
    }

    public void setQuotebond_number(Integer quotebond_number) {
        this.quotebond_number = quotebond_number;
    }

    public Integer getIs_performbond() {
        return is_performbond;
    }

    public void setIs_performbond(Integer is_performbond) {
        this.is_performbond = is_performbond;
    }

    public Integer getPerformbond_number() {
        return performbond_number;
    }

    public void setPerformbond_number(Integer performbond_number) {
        this.performbond_number = performbond_number;
    }

    public Integer getType_1() {
        return type_1;
    }

    public void setType_1(Integer type_1) {
        this.type_1 = type_1;
    }

    public Integer getType_2() {
        return type_2;
    }

    public void setType_2(Integer type_2) {
        this.type_2 = type_2;
    }

    public Integer getType_3() {
        return type_3;
    }

    public void setType_3(Integer type_3) {
        this.type_3 = type_3;
    }

    public Integer getType_3_2() {
        return type_3_2;
    }

    public void setType_3_2(Integer type_3_2) {
        this.type_3_2 = type_3_2;
    }

    public Integer getType_4() {
        return type_4;
    }

    public void setType_4(Integer type_4) {
        this.type_4 = type_4;
    }

    public Integer getType_5() {
        return type_5;
    }

    public void setType_5(Integer type_5) {
        this.type_5 = type_5;
    }

    public Integer getType_6() {
        return type_6;
    }

    public void setType_6(Integer type_6) {
        this.type_6 = type_6;
    }

    public Integer getType_7() {
        return type_7;
    }

    public void setType_7(Integer type_7) {
        this.type_7 = type_7;
    }

    public Integer getType_8() {
        return type_8;
    }

    public void setType_8(Integer type_8) {
        this.type_8 = type_8;
    }

    public Integer getKgj_1() {
        return kgj_1;
    }

    public void setKgj_1(Integer kgj_1) {
        this.kgj_1 = kgj_1;
    }

    public Integer getKgj_2() {
        return kgj_2;
    }

    public void setKgj_2(Integer kgj_2) {
        this.kgj_2 = kgj_2;
    }

    public Integer getKgj_3() {
        return kgj_3;
    }

    public void setKgj_3(Integer kgj_3) {
        this.kgj_3 = kgj_3;
    }

    public Integer getKgj_4() {
        return kgj_4;
    }

    public void setKgj_4(Integer kgj_4) {
        this.kgj_4 = kgj_4;
    }

    public Integer getType_9() {
        return type_9;
    }

    public void setType_9(Integer type_9) {
        this.type_9 = type_9;
    }

    public Integer getType_10() {
        return type_10;
    }

    public void setType_10(Integer type_10) {
        this.type_10 = type_10;
    }

    public Integer getType_11() {
        return type_11;
    }

    public void setType_11(Integer type_11) {
        this.type_11 = type_11;
    }

    public Integer getType_12() {
        return type_12;
    }

    public void setType_12(Integer type_12) {
        this.type_12 = type_12;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Purchase{" +
                "apply_id=" + apply_id +
                ", create_user='" + create_user + '\'' +
                ", write_date=" + write_date +
                ", bill_number='" + bill_number + '\'' +
                ", sign_name='" + sign_name + '\'' +
                ", jh_time=" + jh_time +
                ", jh_time2=" + jh_time2 +
                ", jh_time_end=" + jh_time_end +
                ", coal_type=" + coal_type +
                ", coal_class=" + coal_class +
                ", qty=" + qty +
                ", transport_mode=" + transport_mode +
                ", delivery_mode='" + delivery_mode + '\'' +
                ", check_mode=" + check_mode +
                ", account_mode=" + account_mode +
                ", max_limit_price=" + max_limit_price +
                ", min_limit_price=" + min_limit_price +
                ", max_remark='" + max_remark + '\'' +
                ", pay_mode='" + pay_mode + '\'' +
                ", is_quotebond=" + is_quotebond +
                ", quotebond_number=" + quotebond_number +
                ", is_performbond=" + is_performbond +
                ", performbond_number=" + performbond_number +
                ", type_1=" + type_1 +
                ", type_2=" + type_2 +
                ", type_3=" + type_3 +
                ", type_3_2=" + type_3_2 +
                ", type_4=" + type_4 +
                ", type_5=" + type_5 +
                ", type_6=" + type_6 +
                ", type_7=" + type_7 +
                ", type_8=" + type_8 +
                ", kgj_1=" + kgj_1 +
                ", kgj_2=" + kgj_2 +
                ", kgj_3=" + kgj_3 +
                ", kgj_4=" + kgj_4 +
                ", type_9=" + type_9 +
                ", type_10=" + type_10 +
                ", type_11=" + type_11 +
                ", type_12=" + type_12 +
                ", remark='" + remark + '\'' +
                ", state=" + state +
                '}';
    }
}
